using MediatR;
using B.S.RbacData.ErrorCode;
using System.ComponentModel.DataAnnotations;

namespace SupplierCustomerManagement.Write.API.Applications.Commands.productpurchaseprices
{
    /// <summary>
    /// 删除商品采购价格命令
    /// </summary>
    public class DeleteProductPurchasePriceCommand : IRequest<ApiResult<bool>>
    {
        /// <summary>
        /// 商品采购价格ID
        /// </summary>
        [Required(ErrorMessage = "商品采购价格ID不能为空")]
        public int Id { get; set; }
    }
}